package cn.iocoder.yudao.module.pay.framework.pay.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.validation.annotation.Validated;
import javax.validation.constraints.NotEmpty;

@ConfigurationProperties(prefix = "yudao.pay.point")
@Validated
@Data
public class PayPointProperties {

    private static final String POINT_PAY_APP_KEY_DEFAULT = "point";

    /**
     * 钱包支付应用 AppKey
     */
    @NotEmpty(message = "钱包支付应用 AppKey 不能为空")
    private String pointPayAppKey = POINT_PAY_APP_KEY_DEFAULT;

}
